package edu.infomatik.tundra.data;

import java.util.Date;

import edu.infomatik.tundra.logic.LifeStages;
import edu.infomatik.tundra.logic.USTaskBean;
import edu.infomatik.tundra.logic.WorkKinds;

public class MockUSTaskBean implements IMockedBean<USTaskBean>{
	
	private USTaskBean mocked;
	
	@Override
	public USTaskBean getMocked() {
		return mocked;
	}
	
	MockUSTaskBean(String name, WorkKinds kind, String description,
			String note, String demo, int idealSP, int estSP, Date dateCreated,
			Date scheduleDate, short percentOver, LifeStages lifeStage,  boolean inProgress) {
		mocked = new USTaskBean();
		mocked.setName(name);
		mocked.setKind(kind);
		mocked.setDescription(description);
		mocked.setNote(note);
		mocked.setDemo(demo);
		mocked.setIdealSP(idealSP);
		mocked.setEstSP(estSP);
		mocked.setDateCreated(dateCreated);
		mocked.setScheduleDate(scheduleDate);
		mocked.setInProgress(inProgress);
		mocked.setLifeStage(lifeStage);
		mocked.setPercentOver(percentOver);
	}
	public short getLifeStage() {
		return mocked.getLifeStage();
	}

	public void setLifeStage(LifeStages lifeStage) {
		mocked.setLifeStage(lifeStage);
	}

	public short getPercentOver() {
		return mocked.getPercentOver();
	}

	public void setPercentOver(short percentOver) {
		mocked.setPercentOver(percentOver);
	}

	@Override
	public long getId() {
		return mocked.getId();
	}

	@Override
	public void setId(long id) {
		mocked.setId(id);
	}
}